CoefficientRules
CoefficientRules[poly,{x1,x2,…}] gives the list {{e11,e12,…}->c1,{e21,…}->c2,…} of exponent vectors and coefficients for the monomials in poly with respect to the xi.
CoefficientRules[poly,{x1,x2,…},order] gives the result with the monomial ordering specified by order.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.